package com.kun.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kun.rental.entity.Violation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ikun
 * @since 2024-07-04
 */
public interface IViolationService extends IService<Violation> {


    /**
     * 分页查询
     * @param page
     * @param violation
     * @return
     */
    Page<Violation> searchByPage(Page<Violation> page, Violation violation);

    boolean delete(String ids);
}
